#pragma once
#include "Chip.h"
#include "GroupManager.h"

class CBoardManager
{
private:	
	CChip m_pChip[96];
	bool m_bVisitedarr[96];

public:
	CBoardManager(void);
	~CBoardManager(void);

	CGroupManager m_cGrpmngr;
	
	void initialize(void);
	void setUserNum(int cntUser);

	bool setChip(PLAYER whoseturn, int index);
	bool gameLogic(PLAYER whoseturn, int index, jint roomId);
	RESULTPACKET searchAdjecency(int startindex);
	bool* getVisitedarr(void);
};

